package com.xuecheng.content.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.content.entity.CoursePub;

import java.util.Map;

/**
 * <p>
 * 课程发布 服务类
 * </p>
 *
 * @author itcast
 * @since 2022-03-28
 */
public interface CoursePubService extends IService<CoursePub> {
    /**
     * 课程预览
     *
     * @param courseId
     * @param companyId
     * @return Map 数据模型
     */
    Map<String, Object> previewCourse(Long courseId, Long companyId);
}
